package com.api.API.CodeLab.CodeShellConnecter;

import com.api.POJO.CodeLab.CodeShellConnecter.WebSSHCommand;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.io.IOException;

/**
 * @Description :
 * @Author :
 * @Date : 2021/12/19
 */
@FeignClient("CodeShellConnecter")
@RestController
public interface OrderControllerAPI {

    @PostMapping("/codeshell/order")
    void sendCommandToSSH(@RequestBody WebSSHCommand command) throws IOException;

}
